package edu.wuster.blog.service;

import edu.wuster.blog.entity.LoginResponse;
import edu.wuster.blog.entity.User;
import edu.wuster.blog.entity.UserResetPassword;

public interface UserService {

    void addUser(User user);

    boolean lossPassword(User user);

    User selectById(Integer id);

    void resetById(User user);

    void resetPassword(UserResetPassword userResetPassword);

    void deleteUser(Integer id);

    LoginResponse userLogin(User user);
}
